package com.hellowx.qydcdev.service.impl;

import com.hellowx.qydcdev.dao.BusinessCategoryDao;
import com.hellowx.qydcdev.entity.BusinessCategory;
import com.hellowx.qydcdev.service.BusinessCategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created on 2022/1/5.
 *
 * @author Hello WX
 */
@Service("businessCategoryService")
public class BusinessCategoryServiceImpl implements BusinessCategoryService {

    @Resource
    private BusinessCategoryDao businessCategoryDao;

    @Override
    public List<BusinessCategory> selectAll() {
        return businessCategoryDao.selectList(null);
    }
}
